import 'package:flutter/material.dart';

///颜色主题
class ColorTheme {
  // 主题颜色
  static const Color primaryColor = Color(0xFFF7F7F7);

  // 主文本颜色
  static const Color primaryTextColor = Color(0xFF333333);

  // 次文本颜色
  static const Color primaryTextColor2 = Color(0xFF666666);

  // 次文本颜色
  static const Color secondaryTextColor = Color(0xFF999999);

  // 背景颜色
  static const Color secondaryColor = Color(0xFFE6E6E6);

  //边框颜色
  static const Color borderColor = Color(0xFFEFEFEF);

  //竖线颜色
  static const Color lineColor = Color(0xFFD9D9D9);

  //按钮文本颜色
  static const Color buttonTextColor = Color(0xFF2149ED);

  //页面背景色
  static const Color pageBackgroundColor = Color(0xFFF5F5F5);
}

///阴影颜色
class ShadowColor {
  //登录按钮阴影
  static Color loginButtonShadowColor = const Color(0xFF2149ED).withOpacity(0.25);
  static Color loginButtonShadowColor2 = const Color(0xFF2149ED).withOpacity(0.1);
  //头像阴影
  static Color avatarShadowColor = const Color(0xFFA4A4A4).withOpacity(0.25);
}

///渐变主题
class GradientTheme {
  //按钮渐变
  static btnGradient() {
    return const LinearGradient(
      colors: [Color(0xFF607FFF), Color(0xFF2149ED)],
      begin: Alignment.centerLeft,
      end: Alignment.centerRight,
    );
  }
}
